<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/commons/include/html_doctype.html" %>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<%@include file="/commons/page/codegen.jsp" %>
		<script type="text/javascript" src="${ctx}/js/gpoint/rdp/zoneCTL/doorController.js"></script>
		<title>控制器管理列表</title>
	</head>
	<body>
		<div class="wrapper wrapper-content  animated fadeInRight col-sm-12">
			<div  class="toolbar-panel ">
				<div class="toolbar-box">
					<div class="toolbar-head clearfix">
						<!-- 顶部按钮 -->
						<div class="buttons"> 
						    <a class="btn btn-primary fa fa-search" href="javascript:void(0);" ><span>搜索</span></a>							
							<a class="btn btn-primary fa fa-add"   href="${ctx}/rdp/zoneCTL/doorController/add.htm" ><span>添加</span></a>
					        <a class="btn btn-primary fa fa-edit"   href="javascript:void(0);"  action="${ctx}/rdp/zoneCTL/doorController/edit.htm" ><span>编辑</span></a>	 
					        <a class="btn btn-primary fa fa-remove" href="javascript:void(0);"  action="${ctx}/rdp/zoneCTL/doorController/remove.htm"><span>删除</span></a>
					        <a class="btn btn-primary fa"  onclick="openDialog()"><span>搜索网络控制器</span></a>
						</div>
						<!-- 收缩 -->
						<div class="tools">
							<a href="javascript:void(0);" class="collapse">
								<i class="bigger-180 fa  fa-angle-double-up"></i>
							</a>
						</div>
					</div>
					<!-- #查询条件-->
					<div class="toolbar-body" >
						<form role="form" class="search-form">
							<div  class="form-inline p-xxs">
								<div class="form-group">
									<label   class="search-label">区域</label>:
									    <input name="Q^ZONEID^S" type="hidden"  id="hid_zoneid" value=""/>						    					
									    <input type="text" data-key="#hid_zoneid" readonly="readonly"  class="form-control comboTree" data-toggle="dictionary" data-url="${ctx}/rdp/area/zone/list_json_tree.htm?" />
								</div> 
								<div class="form-group">
									<label   class="search-label">控制器名称</label>:
									<input type="text"  name="Q^CONTROLLERNO^SL"  class="form-control"  />
								</div> 
								<div class="form-group">
									<label   class="search-label">IP地址</label>:
									<input type="text"  name="Q^IPA^SL"  class="form-control"  />
								</div> 								
								<div class="form-group">									
									<label   class="search-label">是否启用</label>:
									<select  name="Q^ENABLED^S" class="form-control" style="width:150px;">
									     <option value="">请选择</option>
									     <option value="1">是</option>
									     <option value="0">否</option>
									</select>
								</div> 
							</div>
						</form>
					</div><!--/ 查询条件-->
				</div>
			</div><!--/ 操作、查询-->
			<div class="jqGrid_wrapper">
				<table id="doorControllerGrid" ></table>
				<div id="doorControllerPager"></div>
			</div>
		</div>
	
	</body>
	
	<script type="text/javascript">
	
	 function openDialog(){
	    			 
		 DialogUtil.dialog(
				 {
		 				title : "搜索控制器",
		 				content : '${ctx}/rdp/SearchController/searchController/list.htm',
		 				area : [ '1200px', '600px' ],
		 				maxmin : false,
		 				end : function() {
							$("#doorControllerGrid").trigger("reloadGrid");
						}
		 			
		 		}
		 );
		  
		  		  
	   }
	
	</script>
	
</html>